package cn.qin.Actions;

import cn.qin.Services.newsServices;

import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionSupport;

public class delNewsAction extends ActionSupport {
	int id;
	public String execute(){
		newsServices nes=new newsServices();
		nes.delNews(this.getId());
		return Action.SUCCESS;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
}
